package com.cloudbroker.bcs.csvc.lightinvesting.apiexport.t2;

import com.cloudbroker.bcs.csvc.lightinvesting.api.service.IFSService;
import com.cloudbroker.bcs.csvc.lightinvesting.api.t2service.IFST2Service;
import com.cloudbroker.bcs.csvc.lightinvesting.api.vo.request.ifs.*;
import com.cloudbroker.bcs.csvc.lightinvesting.api.vo.response.IFS.*;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by fangyf18371 on 2016/11/3.
 * 用户中心接口服务(对外)
 */
@Service
public class IFSServiceT2 implements IFST2Service{
    @Resource
    private IFSService ifsService;

    @Override
    public RegisterVo func_register(@ServiceParam("param") RegisterForm param) {
        return ifsService.func_register(param);
    }

    @Override
    public LoginVo func_login(@ServiceParam("param") LoginForm param) {
        return ifsService.func_login(param);
    }

    @Override
    public AuthCodeGetVo func_auth_code_get(@ServiceParam("param") AuthCodeGetForm param) {
        return ifsService.func_auth_code_get(param);
    }

    @Override
    public AuthCodeLoginVo func_auth_code_login(@ServiceParam("param") AuthCodeLoginForm param) {
        return ifsService.func_auth_code_login(param);
    }

    @Override
    public UserUpdateVo func_user_update(@ServiceParam("param") UserUpdateForm param) {
        return ifsService.func_user_update(param);
    }

    @Override
    public UserinfoVo func_userinfo(@ServiceParam("param") UserinfoForm param) {
        return ifsService.func_userinfo(param);
    }

    @Override
    public UserTokenCheckVo func_user_token_check(@ServiceParam("param") UserTokenCheckForm param) {
        return ifsService.func_user_token_check(param);
    }

    @Override
    public LogoutVo func_logout(@ServiceParam("param") LogoutForm param) {
        return ifsService.func_logout(param);
    }

    @Override
    public UploadVo func_upload(@ServiceParam("param") UploadForm param) {
        return ifsService.func_upload(param);
    }

    @Override
    public DownloadVo func_download(@ServiceParam("param") DownloadForm param) {
        return ifsService.func_download(param);
    }

    @Override
    public PasswordResetVo func_password_reset(@ServiceParam("param") PasswordResetForm param) {
        return ifsService.func_password_reset(param);
    }

    @Override
    public RegisterAndLoginVo func_register_and_login(@ServiceParam("param") RegisterAndLoginForm param) {
        return ifsService.func_register_and_login(param);
    }

    @Override
    public CheckRegisterVo func_check_register(@ServiceParam("param") CheckRegisterForm param) {
        return ifsService.func_check_register(param);
    }

    @Override
    public UserbasicinfoVo func_userbasicinfo(@ServiceParam("param") UserbasicinfoForm param) {
        return ifsService.func_userbasicinfo(param);
    }

    @Override
    public UserPageQueryVo func_user_page_query(@ServiceParam("param") UserPageQueryForm param) {
        return ifsService.func_user_page_query(param);
    }

    @Override
    public AdviserSaveVo func_adviser_save(@ServiceParam("param") AdviserSaveForm param) {
        return ifsService.func_adviser_save(param);
    }

    @Override
    public AdviserUpdateVo func_adviser_update(@ServiceParam("param") AdviserUpdateForm param) {
        return ifsService.func_adviser_update(param);
    }

    @Override
    public AdviserGetVo func_adviser_get(@ServiceParam("param") AdviserGetForm param) {
        return ifsService.func_adviser_get(param);
    }

    @Override
    public AdviserPageQueryVo func_adviser_page_query(@ServiceParam("param") AdviserPageQueryForm param) {
        return ifsService.func_adviser_page_query(param);
    }

    @Override
    public UserUpdatePasswordVo func_user_update_password(@ServiceParam("param") UserUpdatePasswordForm param) {
        return ifsService.func_user_update_password(param);
    }

    public CapitalAccountLoginVo func_capital_account_login( CapitalAccountLoginForm param){
        return ifsService.func_capital_account_login(param);
    }
}
